package com.zgz.park.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zgz.park.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author willie
 * @since 2022-12-10
 */
public interface AdminMapper extends BaseMapper<Admin> {

    IPage<Admin> getAllAdminByPageVo(IPage<Admin> page, @Param("w") Map<String, Object> params);

    Admin getAdminById(String id);
}
